package com.cn.ccp.webservice.impl;

import com.cn.ccp.bean.CourseSettingBean;

/**
 * 试题返回json对象
 * @author renyongcheng
 *
 */
public class TestObj {
	private String id;
	private String title;//试题或者作业标题
	private String score;
	private boolean hasDone;
	private String onlineTaskId;
	private String courseId;//课程id
	private String courseName;//课程名称
	private String selectCourseId;//选课id
	
	public TestObj(CourseSettingBean obj){
		id = obj.getId();
		title = obj.getTitle();
		score = obj.getScore();
		hasDone = obj.isHasDone();
		onlineTaskId = obj.getSelectedCourseId();
		courseId = obj.getCourseId();
		courseName = obj.getCourseName();
		selectCourseId = obj.getSelectedCourseId();
	}
	
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getScore() {
		return score;
	}
	public void setScore(String score) {
		this.score = score;
	}
	public boolean isHasDone() {
		return hasDone;
	}
	public void setHasDone(boolean hasDone) {
		this.hasDone = hasDone;
	}
	public String getOnlineTaskId() {
		return onlineTaskId;
	}
	public void setOnlineTaskId(String onlineTaskId) {
		this.onlineTaskId = onlineTaskId;
	}



	public String getCourseId() {
		return courseId;
	}



	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}



	public String getCourseName() {
		return courseName;
	}



	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}



	public String getSelectCourseId() {
		return selectCourseId;
	}



	public void setSelectCourseId(String selectCourseId) {
		this.selectCourseId = selectCourseId;
	}

	
}
